package com.yicong.ants.bean.video;

import java.io.Serializable;

/**
 * @author glj
 * @version 2021/3/12 0012
 */
public class VideoHomeListBean implements Serializable {
    /**
     * vid : B0199D7EC32B8016E5D3F9C3745C4D58
     * uid : 10425738
     * face_img : http://ant.qiniu.yblylm.com/videos/54b97dc9292eb7e87f3603df2430ab6e.mp4?vframe/jpg/offset/0
     * url : http://ant.qiniu.yblylm.com/videos/54b97dc9292eb7e87f3603df2430ab6e.mp4
     * like_qty : 3
     */

    private String vid;
    private Integer uid;
    private String face_img;
    private String url;
    private Integer like_qty;

    public VideoHomeListBean() {
    }

    public String getVid() {
        return this.vid;
    }

    public Integer getUid() {
        return this.uid;
    }

    public String getFace_img() {
        return this.face_img;
    }

    public String getUrl() {
        return this.url;
    }

    public Integer getLike_qty() {
        return this.like_qty;
    }

    public void setVid(String vid) {
        this.vid = vid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public void setFace_img(String face_img) {
        this.face_img = face_img;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setLike_qty(Integer like_qty) {
        this.like_qty = like_qty;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof VideoHomeListBean)) return false;
        final VideoHomeListBean other = (VideoHomeListBean) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$vid = this.getVid();
        final Object other$vid = other.getVid();
        if (this$vid == null ? other$vid != null : !this$vid.equals(other$vid)) return false;
        final Object this$uid = this.getUid();
        final Object other$uid = other.getUid();
        if (this$uid == null ? other$uid != null : !this$uid.equals(other$uid)) return false;
        final Object this$face_img = this.getFace_img();
        final Object other$face_img = other.getFace_img();
        if (this$face_img == null ? other$face_img != null : !this$face_img.equals(other$face_img))
            return false;
        final Object this$url = this.getUrl();
        final Object other$url = other.getUrl();
        if (this$url == null ? other$url != null : !this$url.equals(other$url)) return false;
        final Object this$like_qty = this.getLike_qty();
        final Object other$like_qty = other.getLike_qty();
        if (this$like_qty == null ? other$like_qty != null : !this$like_qty.equals(other$like_qty))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof VideoHomeListBean;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $vid = this.getVid();
        result = result * PRIME + ($vid == null ? 43 : $vid.hashCode());
        final Object $uid = this.getUid();
        result = result * PRIME + ($uid == null ? 43 : $uid.hashCode());
        final Object $face_img = this.getFace_img();
        result = result * PRIME + ($face_img == null ? 43 : $face_img.hashCode());
        final Object $url = this.getUrl();
        result = result * PRIME + ($url == null ? 43 : $url.hashCode());
        final Object $like_qty = this.getLike_qty();
        result = result * PRIME + ($like_qty == null ? 43 : $like_qty.hashCode());
        return result;
    }

    public String toString() {
        return "VideoHomeListBean(vid=" + this.getVid() + ", uid=" + this.getUid() + ", face_img=" + this.getFace_img() + ", url=" + this.getUrl() + ", like_qty=" + this.getLike_qty() + ")";
    }
}

